package com.gitee.lht.common.IAssert;

/**
 * @author Eric
 * @version 1.0
 * @date 2019-12-13
 */
public class NotNullCondition<T extends Object> implements Condition{

    private T t;

    public NotNullCondition(T t) {
        this.t = t;
    }

    @Override
    public boolean condition() {
        if(t == null) {
            return true;
        }
        return false;
    }

}
